package com.oig.sys.workflow.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 配置字段发生何种变化
 */
@Schema
@Data
public class RuleProChangeDto {

    @Schema(description = "属性名 字段名")
    private String field ;  //rename 别名
    @Schema(description = "发生变化类型", example = "0-字段值发生任意变化  1-字段值变更为指定值  2-指定特定变更 3-变更大于指定步长 4-从无变有 5-从有变无")
    private String listenerType ; //枚举
    @Schema(description = "原值", example = "变化类型为2时填")
    private String oldValue;
    @Schema(description = "变化后值", example = "变化类型为1、2时填")
    private String newValue ;
    @Schema(description = "变动范围", example = "变化类型为3时填")
    private String stepValue;
}
